package com.ftg.learn.assess.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDateTime;

@Data
@Schema(description = "管理端评价列表传递的数据模型")
public class AdminPageQueryDto {
    //当前页码
    @Schema(description = "当前页码",defaultValue = "1",example = "1")
    private int pageNum;
    //每页显示条数
    @Schema(description = "每页显示条数",defaultValue = "10",example = "10")
    private int pageSize;

    @Schema(description = "商品id")
    private Long productId;

    @Schema(description = "评价内容")
    String content;

    @Schema(description = "评分")
    Integer rating;

    @Schema(description = "是否匿名")
    Integer isAnonymous;

    @Schema(description = "状态")
    Integer status;
}
